home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / machack / Hacks97 / WarriorsProgress.sit / Warrior’s Progress / source code / Source / Libraries / Events / Event Classes / Window Events / WindowEvent.cp < prev    next >
Text File  |  1997-06-28  |  301b  |  15 lines

  1. // WindowEvent.cp
  2.  
  3. #ifndef WindowEvent_h
  4. #include "WindowEvent.h"
  5. #endif
  6. #ifndef Application_h
  7. #include "Application.h"
  8. #endif
  9.  
  10. WindowEvent::WindowEvent( const EventRecord& event )
  11.   : Event( event ),
  12.      window( Application::The().LocateWindow( reinterpret_cast<WindowPtr>( event.message ) ) )
  13.   {
  14.   }
  15.